import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex) 

// 使用vuex
const store = new Vuex.Store({
    state:{
        count:1
    },
    getters:{
        getStatus(state){
            return state.count
        }
    },
   mutations:{
       landChecking1(state){
        state.count = 2
       },
       landChecking2(state){
        state.count = 3
       }
   }
   
})
export default store